product and quotient rule derivatives